﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TechTalk.SpecFlow;

namespace AmazonViewer.Specs
{
    [Binding]
    public class StepDefinitions
    {
        [Given(@"I have entered ""(.*)"" as author")]
        public void GivenIHaveEnteredAnAuthorForSearch(string author)
        {
            ScenarioContext.Current.Pending();
        }

        [Given(@"I have entered ""(.*)"" as title")]
        public void GivenIHaveEnteredATitleForSearch(string title)
        {
            ScenarioContext.Current.Pending();
        }

        [When(@"I press ""Search""")]
        public void WhenIPressSearch()
        {
            ScenarioContext.Current.Pending();
        }

        [Then(@"the author of the first book should be ""(.*)""")]
        public void ThenTheAuthorOfTheFirstBookShouldBe(string author)
        {
            ScenarioContext.Current.Pending();
        }

        [Then(@"the title of the first book should be ""(.*)""")]
        public void ThenTheTitleOfTheFirstBookShouldBe(string title)
        {
            ScenarioContext.Current.Pending();
        }
    }
}
